home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
easyrun.zip
/
EASYRUN.DOC
< prev
next >
Wrap
Text File
|
1994-06-26
|
6KB
|
155 lines
┌═══╗ ┌═══╗ ┌═══════════╗ ┌═══════════╗
│ ║ │ ║ │ ╓────────╜ │ ╓────┐ ║
│ ╙───┘ ║ │ ╙────────╖ │ ║ │ ║
│ ║ └────────┐ ║ │ ╙────┘ ║
│ ╓───┐ ║ │ ║ │ ╓───────╜
│ ║ │ ║ ┌────────┘ ║ │ ║
└───╜ └───╜ └───────────╜ └───╜
> HAPPY STUFF PRODUCTIONS <
presents
▄▄▄▄▄ ▄▄▄ ▄▄▄▄ ▄ ▄ ▄▄▄▄ ▄ ▄ ▄ ▄
▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄▄ ▄
▄▄▄ ▄▄▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄▄ ▄ ▄ ▄ ▄ ▄
▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄▄
▄▄▄▄▄ ▄ ▄ ▄▄▄▄ ▄ ▄ ▄ ▄▄▄ ▄ ▄
DISCLAIMER
════════════
I assume absolutely no responsibility for any effect that this program
has on you, your computer or anything related to you or your existance.
No warranty is provided nor implied with this program. Use it at your own
risk.
EASY RUN can be shared freely when not registered. All files should be
included with no change.
1. What is EASY RUN?
══════════════════════
Well, some time ago my computer studies' teacher told me it would be good
to write a little program that runs all Pascal programs in a directory one
after another. Then he could use it as a pretty fast way to check students'
work on his computer. That was the basic idea.
I realized that idea could be used to write a more professional
application. So I created EASY RUN. It lets you move all around your drives
and run any source you want by pressing one key.
2. EASY RUN configuration.
════════════════════════════
Now I would like to describe a file called EASYRUN.CFG. This file lets you
specify types of source codes (like Pascal files, C files, etc.) that can be
run by EASY RUN.
The structure of the file is as follows:
@description
name of a programming language
@extensions
extension #1
extension #2
... (up to #10)
@path
pathname of compiler
@syntax
compiler syntax
So if you want EASY RUN to access Turbo Pascal and Turbo C sources,
EASYRUN.CFG should look like this:
@name
Turbo Pascal
@ext
PAS
@path
c:\bp\bin\tpc.exe
@syntax
%
@name
Turbo C
@ext
C
@path
c:\tc\bin\tcc.exe
@syntax
%
Few words of explanation...
After "@" character you can type anything you wish, but preserve the
following queue: description, extensions, pathname, syntax. Note that each
part ("@something" and configuration data) should be in a separate line.
"%" points the place of a source file name in the compiler's syntax line.
So if you compile programs for instance this way:
COMPILERNAME /S MYPROG.XXX
you should put:
/S %
in the syntax area.
The default EASYRUN.CFG is for Turbo Pascal, C, C++ files.
3. Using EASY RUN.
════════════════════
It's very easy. On the screen you have two windows. First one contains
files in the current directory and the second one information on optional
keys.
Using Up,Down,PgUp,PgDn,Home,End keys you move a black line that
highlights the current file.
If you press Enter on a directory (indicated by "sub-dir") you will simply
go there. If you press the same key on ".." you will go one directory up.
If you want to run a source, just highlight it and press Enter.
Pretty easy, uh?
In case would like more sources to run, use Insert key. This will tag
(or untag) choosed files. Then you can run them one after another hitting
F9 key.
There is one more interesting key: "*". It untags tagged and tags untagged
files. It's useful when you plan to run for instance 99 out of 100 files. You
don't have to tag these 99 files using Insert. It takes time. The easier way
to tag them is to tag the one you don't want to run and then press "*".
The F3 key calls a viewer. The viewer is very simple, but you can use it
when you're not sure about running a file. A little view of the file should
help you then.
The F5 key lets you change the current drive.
Now something about "fast run" option which is located unders the F7 key.
When it's off, a source file will be always compiled before running. But
sometimes after a file's size there is a letter shown ("E" or "C"). It says
that there's an executable file ("EXE" or "COM" type) of the source file in
the directory. If you switch "fast run" on, the source will be compiled only
if there's no its executable form.
And there's one more key that can interests you: Esc. It exits EASY RUN.
4. Registration.
══════════════════
If you find EASY RUN useful, please register it sending me a postcard with
some greetings or something about the program to the following address:
Grzegorz Swiatek
Happy Stuff Productions
ul. Lyskowskiego 7e/195
87-100 Torun
POLAND
I will send you a registered version of EASY RUN then, so don't forget to
write your e-mail address.
No matter if you want to register EASY RUN or not I would like you to fill
the MYINFO.FRM file and send it by mail to:
swiatek@mat.uni.torun.pl
with subject "MyInfo".
THAT'S ALL FOLKS...
Grzegorz Swiatek
(c)1994 by Happy Stuff Productions